#nullable enable

using System;

namespace PHMEE.EnergyEfficiency;

/// <summary>
/// 流量计 Tde
/// </summary>
public sealed class FlowMeterTde
{
    public DateTime Ts { get; set; }

    /// <summary>
    /// 分钟油耗
    /// </summary>
    /// <value></value>
    public float OilValue { get; set; }

    /// <summary>
    /// 密度
    /// </summary>
    /// <value></value>
    public float Density { get; set; }

    /// <summary>
    /// 油品
    /// </summary>
    /// <value></value>
    public int FuelType { get; set; }

    /// <summary>
    /// 即时油耗
    /// </summary>
    /// <value></value>
    public float Instant { get; set; }

    /// <summary>
    /// 温度
    /// </summary>
    /// <value></value>
    public float Temperature { get; set; }

    /// <summary>
    /// 流量计总油耗读数
    /// </summary>
    /// <value></value>
    public float TotalValue { get; set; }
}

public sealed class FlowMeterOilValueTde
{
    public DateTime Ts { get; set; }

    /// <summary>
    /// 分钟油耗
    /// </summary>
    /// <value></value>
    public float OilValue { get; set; }

    /// <summary>
    /// 油品
    /// </summary>
    /// <value></value>
    public FuelType FuelType { get; set; }
}